<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title><?php echo $title_page; ?></title>
<?php
	echo $this -> Html -> css(array('admin/screen.css', 'blue/style.css', 'adminStyle.css', 'jquery.toastmessage-min.css', 'validationEngine.jquery.css'));
	echo $this -> Html -> script(array('jquery.min.js', 'jquery-ui-1.8.20.min.js', 'jquery.validationEngine-en.js', 'jquery.validationEngine.js', 'jquery.toastmessage-min.js'));
?>
<script>
    var msg = "<?php echo $message; ?>";
    if (msg != "") {
        $().toastmessage('showSuccessToast', msg);
    }
    var pathRoot = "<?php echo $this -> Html -> url('/',true); ?>";
 </script>
</head>
<?php $pathRoot = $this -> Html -> url('/',true); ?>
<body>
<div id="page-top-outer">    

<!-- Start: page-top -->
<div id="page-top">

	<!-- start logo -->
	<div id="logo">
	<a href=""><img src="<?php echo $pathRoot?>css/admin/images/shared/logo.png")" width="156" height="40" alt="" /></a>
	</div>
 	<div class="clear"></div>

</div>
<!-- End: page-top -->

</div>
<!-- End: page-top-outer -->
	
<div class="clear">&nbsp;</div>
 
<!--  start nav-outer-repeat................................................................................................. START -->
<div class="nav-outer-repeat"> 
<!--  start nav-outer -->
<div class="nav-outer"> 

		<!-- start nav-right -->
		<div id="nav-right">
		
			<div class="nav-divider">&nbsp;</div>
			<div class="showhide-account"><a href="/Manager/ChangePasswordInit" ><img src="<?php echo $pathRoot?>css/admin/images/shared/nav/nav_myaccount.gif")" width="93" height="14" alt="" /></a></div>
			<div class="nav-divider">&nbsp;</div>
			<a href="<?php echo $this -> Html -> url('/',true); ?>login/logout" id="logout"><img src="<?php echo $pathRoot?>css/admin/images/shared/nav/nav_logout.gif")" width="64" height="14" alt="" /></a>
			<div class="clear">&nbsp;</div>
		
		</div>
		<!-- end nav-right -->

        <?php include 'HeaderAdmin.ctp';?>
		

</div>
<div class="clear"></div>
<!--  start nav-outer -->
</div>
<!--  start nav-outer-repeat................................................... END -->
 
 <div class="clear"></div>
 
<!-- start content-outer -->
<div id="content-outer">
<!-- start content -->
<div id="content">
<h1><?php echo $title_for_layout;?></h1>
<br><br>
<table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
<tr>
	<td id="tbl-border-left"></td>
	<td>
	<!--  start content-table-inner -->
 <?php echo $content_for_layout; ?>
  </td>
</tr>
</table>
</div>
<!--  end content -->
<div class="clear">&nbsp;</div>
</div>
<!--  end content-outer -->

<div class="clear">&nbsp;</div>
    
<!-- start footer -->         
<div id="footer">
	<!--  start footer-left -->
	<div id="footer-left">
	Design by ThanhVN - vonguyenthanh.mailbox@gmail.com </div>
	<!--  end footer-left -->
	<div class="clear">&nbsp;</div>
</div>
<!-- end footer -->
<div id="preventLayer"></div>
</body>
</html>